package com.example.quanxian2.demo1.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/t")
public class TestController {
    @GetMapping("/t1")
    public String test1(){
        return "有t1权限";
    }
    @GetMapping("/t2")
    public String test2(){
        return "有t2权限";
    }
    @GetMapping("/t3")
    public String test3(){
        return "有t3权限";
    }
}
